package com.windhc.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

public class Cron {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 状态(0：停止使用，1：使用)
     */
    private Integer status;

    private String schedulerId;

    /**
     * cron表达式
     */
    private String cronStr;

    /**
     * 该任务要执行的具体内容,比如类路径、方法路径、函数名等等
     */
//    private String execContent;

    private Long createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSchedulerId() {
        return schedulerId;
    }

    public void setSchedulerId(String schedulerId) {
        this.schedulerId = schedulerId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCronStr() {
        return cronStr;
    }

    public void setCronStr(String cronStr) {
        this.cronStr = cronStr;
    }

    public Long getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Long createdAt) {
        this.createdAt = createdAt;
    }
}
